package cz.muni.fi.pa165.soap;

import cz.muni.fi.pa165.dto.CustomerDTO;
import java.util.List;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author <a href="mailto:vramik at redhat.com">Vlastislav Ramik</a>
 */
@WebService
public interface CustomerSoapService {
    public CustomerDTO getCustomer(@WebParam(name="id") Long id);
    public List<CustomerDTO> getCustomers();
    public Long createCustomer(@WebParam(name="customer") CustomerDTO customer);
    public void removeCustomer(@WebParam(name="customer") CustomerDTO customer);
    public void updateCustomer(@WebParam(name="customer") CustomerDTO customer);
}